package cn.itcast.service.role;

import cn.itcast.domain.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoleService {
    PageInfo findAllRole(int pageNum, int pageSize, String company_id);

    void save(Role role);
    Role findById(String id);

    void update(Role role);

    void delete(String id);

    List<Role> findRole(String company_id);
    /*查询当前用户所对应得角色*/
    List<Role> findUserRole(String id);
}
